﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHISInteroperability.DataTransfer
{

    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://dhis2.org/schema/dxf/2.0")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://dhis2.org/schema/dxf/2.0", IsNullable = false)]
    public partial class importSummary
    {
        public const string STATUS_ERROR = "ERROR";
        public const string STATUS_SUCCESS = "SUCCESS";

        private string statusField;

        private string descriptionField;

        private dataValueCount dataValueCountField;

        private importCount importCountField;

        private string dataSetCompleteField;

        private conflict[] conflictsField;

        /// <remarks/>
        public string status
        {
            get
            {
                return this.statusField;
            }
            set
            {
                this.statusField = value;
            }
        }

        /// <remarks/>
        public string description
        {
            get
            {
                return this.descriptionField;
            }
            set
            {
                this.descriptionField = value;
            }
        }

        /// <remarks/>
        public dataValueCount dataValueCount
        {
            get
            {
                return this.dataValueCountField;
            }
            set
            {
                this.dataValueCountField = value;
            }
        }

        /// <remarks/>
        public importCount importCount
        {
            get
            {
                return this.importCountField;
            }
            set
            {
                this.importCountField = value;
            }
        }

        /// <remarks/>
        public string dataSetComplete
        {
            get
            {
                return this.dataSetCompleteField;
            }
            set
            {
                this.dataSetCompleteField = value;
            }
        }

        [System.Xml.Serialization.XmlArrayItemAttribute("conflict", IsNullable = false)]
        public conflict[] conflicts
        {
            get
            {
                return this.conflictsField;
            }
            set
            {
                this.conflictsField = value;
            }
        }
    }
}
